/*
 * @Author: your name
 * @Date: 2021-06-26 22:21:23
 * @LastEditTime: 2021-06-26 22:28:12
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 */

export enum EntityType {
    Player = 0,
    Npc = 1,
}

export class Entity {
    protected uuid: number;
    protected x: number;
    protected y: number;
    protected dir: number;

    public setPos(x: number, y: number) {
        this.x = x;
        this.y = y;
    }
    public setPosDir(x: number, y: number, dir: number) {
        this.x = x;
        this.y = y;
        this.dir = dir;
    }
}